﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CreateNews.aspx.cs" Inherits="Manage_news_CreateNews" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../../css/table/themes/blue/style.css" rel="stylesheet" type="text/css" media="print, projection, screen"/>
    <link href="../../css/table/jq.css" rel="stylesheet" type="text/css" media="print, projection, screen" />
</head>
<script language="javascript" type="text/javascript" src="../../librarys/jquery.js"></script>
<script language="javascript" type="text/javascript" src="../../librarys/jquery.validate.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function () {
	$("#form1").validate({
		rules: {
			sTitle: "required"
		},
		messages: {
			sTitle: "<font color='red'>标题不允许为空。</font>"
		}
	});
});
</script>
<body>
    <form id="form1" runat="server">
    <!--添加-->
    <div id="main">	 
        <div class="position">
            <a name="Download">位置：<%= Request.QueryString["name"]+"->"+Request.QueryString["mm_name"]%></a>
        </div>      
            <table class="tablesorter" border="0" cellpadding="0" cellspacing="1">
                <tr>
                    <td><label>标题：</label>
                    </td>
                    <td>
                        <asp:TextBox ID="sTitle" name="sTitle" MaxLength="200" class="required" runat="server"></asp:TextBox>
                    </td>
                    <td>关键字：
                    </td>
                    <td><asp:TextBox ID="sTag" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>来源：
                    </td>
                    <td><asp:TextBox ID="sFrom" runat="server"></asp:TextBox>
                    </td>
                    <td>链接：
                    </td>
                    <td><asp:TextBox ID="sLink" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>作者：
                    </td>
                    <td><asp:TextBox ID="sAuthor" runat="server"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <FCKeditorV2:FCKeditor id="sText" runat ="server"  Height="600px"></FCKeditorV2:FCKeditor> 
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <asp:Button ID="BtnSave" runat="server" Text="保存" OnClick="BtnSave_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
